package com.tbb.app.base.search;

import com.tbb.app.common.entity.PageBeanSearch;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "消息分页查询传参对象")
public class MessagePageSearch extends PageBeanSearch {

    @ApiModelProperty("好友用户id，必填")
    @NotBlank(message = "好友id必填")
    private String userId;

}
